#include "mainwindow.h"
#include <QApplication>
#include <QFileInfo>
#include <QDebug>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    //w.show();

    QFileInfo fileInfo("../../test.json");
    qDebug() << "exists: " << fileInfo.exists();
    qDebug() << "size: " << fileInfo.size();
    qDebug() << "isFile: " << fileInfo.isFile();
    qDebug() << "isDir: " << fileInfo.isDir();
    qDebug() << "isSymLink: " << fileInfo.isSymLink();
    qDebug() << "path: " << fileInfo.path();
    qDebug() << "filePath: " << fileInfo.filePath();
    qDebug() << "isRelative: " << fileInfo.isRelative();


    return a.exec();
}
